Document response codes
authorMatthias Clasen <matthiasc@src.gnome.org>
Mon, 12 Jun 2006 02:17:59 +0000 (02:17 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Mon, 12 Jun 2006 02:17:59 +0000 (02:17 +0000)
docs/reference/ChangeLog
docs/reference/gtk/tmpl/gtkprintunixdialog.sgml

index 8cb8ac663698acd9fc60399cf40050c0b0ae1a7c..9e67b0b9298504012f6cdf2762ce4ad2174c2113 100644 (file)
@@ -1,3 +1,8 @@
+2006-06-11  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/tmpl/gtkprintunixdialog.sgml: Document resonses used
+       by GtkPrintUnixDialog.  (#344558, Christian Persch)
+
 2006-06-08  Matthias Clasen  <mclasen@redhat.com>
 
        * gtk/tmpl/gtkprintoperation.sgml: Updates
index 5666cd33860ebd3ec0281c0d0df73a97f2a11f04..e055de8eb826f8eb2058fe4c183373c6b574d13b 100644 (file)
@@ -18,6 +18,20 @@ to use gtk_print_unix_dialog_get_selected_printer() to obtain
 a #GtkPrinter object and use it to construct a #GtkPrintJob using
 gtk_print_job_new().
 </para>
+<para>
+#GtkPrintUnixDialog uses the following response values:
+<variablelist>
+  <varlistentry><term>%GTK_RESPONSE_OK</term>
+    <listitem><para>for the "Print" button</para></listitem>
+  </varlistentry>
+  <varlistentry><term>%GTK_RESPONSE_APPLY</term>
+    <listitem><para>for the "Preview" button</para></listitem>
+  </varlistentry>
+  <varlistentry><term>%GTK_RESPONSE_CANCEL</term>
+    <listitem><para>for the "Cancel" button</para></listitem>
+  </varlistentry>
+</variablelist>
+</para>
 
 <!-- FIXME example here -->